package com.kantboot.user.admin.service.impl;

import com.kantboot.user.admin.domain.entity.UserAdminRouter;
import com.kantboot.user.admin.repository.UserAdminRouterRepository;
import com.kantboot.user.admin.service.IUserAdminRouterService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserAdminRouterServiceImpl implements IUserAdminRouterService {

    @Resource
    private UserAdminRouterRepository repository;

    @Override
    public List<UserAdminRouter> getSelf() {
        return repository.findAll();
    }

    @Override
    public List<UserAdminRouter> getList() {
        return repository.findAll();
    }
}
